Improve octree performance.