Speed up viterbi
Speed up viterbi