index and the distance matrix of the corresponding indexed entity