final touches for octree