A metric space index based on the M-tree