crude implmentation of line length constraint
stuff