Rely on Modest Map's distance function