minlines, maxlines