fixing bug when children share triangles in Octree