changes in map
comments for Viterbi