Threading octree