Init for quadtree version