a dynamic 2d space partitioning tree