we can compute the distance matrix now