integrated the word alignment optimization into the m-step