distance cond