static int computeTag(double x, double y) { return ((y + yOffset).toInt() << yShift) + ((xScale * x).toInt() + xOffset); }