to_adjust_opacity_of_lines_by_length