adjust line length