crazy idea for viterbi edit