Compatible parametric octree on selected regions