spatial-partition/point-quadtree: Extract spatial-partition boilerplate code from point-quadtree project.