new algorithms implemented

update_candidate_lines_potentials()