fixed include_last in split_lines_equal