Create octree