added kdtree asmt