started with kdtree