line length trimming