On the locality of the forward-backward algorithm (speech recognition)