more work on QuadTree