Update octree.cpp