markov chains tunning