improve minRowLength expected behaviour