Better differentiation between the two  distance funcs