hmm alpha-beta