Adjust line length