creating octree, to allow multithreading in progress