more work on octree