allow specifying hard caps on markov lengths