Higher-order Markov chain implementation