viterbi decoding complete