Adjusting hmm