space partition
translating python scripts to c++
initially tried to write octree building a tree structure using max bounding box, octree would be faster to build and for proximity search, but unsure how to control the division to keep them in the same position when bounding box resizes, went back to the previous implemenataion using indices further divided like octree for different depths.