moved spatial directory out of kdtree folder