speed up of viterbi