M-tree datastructure to perform k-NN searches