Check the coordinate boundary and update contract before selecting a spatial index. Candidate cells and parent enclosures still require exact result tests.
Lessons
- Spatial hash grids: move points between occupied cells
- Point-region quadtrees: subdivide crowded cells
- Bounding-volume hierarchies: prune box overlap searches
- Morton ordering: decompose a grid window into code ranges
