spatial partitioning data structures and algorithms.