uploading pre-kdtree state