improved octree traversal performance