Revise the ids in quadtree to the values.