Bits of x and y will be encoded as ....y1x1y0x0
combine every other bit to form a value.
combine every other bit to form a value. Maximum value is 31 bits.
Loads either 1000...
Loads either 1000... or 0111... into starting at given bit index of a given dimention
insert 0 between every bit in value.
insert 0 between every bit in value. Only first 31 bits can be considred.
Recurse down the quad-tree and report all z-ranges which are contained in the rectangle defined by the min and max points