Working on quadtree for heightfields.