line_breakup function

Break up line objects into shorter segments