More work on quadtree