before debugging viterbi