removed kdtree declaration from interface