quadtree template redesign