Handled case of exceeding number of landmarks in landmark mds