added min seqlen