So this represents the order of the tuple, but the bits will be encoded in reverse order: ....z1y1x1z0y0x0 This is a little confusing.
combine every third bit to form a value.
combine every third bit to form a value. Maximum value is 21 bits.
Loads either 1000...
Loads either 1000... or 0111... into starting at given bit index of a given dimention
insert 00 between every bit in value.
insert 00 between every bit in value. Only first 21 bits can be considred.
Recurse down the oct-tree and report all z-ranges which are contained in the cube defined by the min and max points