octree
refactoring