migrate from viterbi to nbestViterbi!!