Optimized octree octantsContaining