Largest value in the distance matrix