make Viterbi work on INB HSMM (maybe)