Better use of QuadTree