added maximum number of lines per split