structured class line object, trim_extend. Fixed bug in trim_extend.