adjusting line length