spec distance and minDistance

distance as a metric Ü