create octree working but too slow