for all states with terminal a matching input at position i. Then
Rationale. Scanning does not involve any new choices since the terminal was already selected as part of the production during prediction.