Currently, we take the first k NNs without looking at the distance. In particular, whether there are several NNs with the same distance. Consider sampling of k NNs if more than k NNs have the same distance.