better distance calculation