add periodic pruning of the octree on load and save