work on octree