Octree performance improvements