Embed a second phase of recognition with more given time to recognize

Also:
Improve compiling performance