Adding parent info in each quadtree