finished syn_distance