Renamed seqs(length, dom) to seqsOfLength(length, dom) to avoid confusion with seqs(dom, maxLength)