Create largestDistance_ij