spatial partitioning