Avoid generating forward/backward patterns as much as possible
Fix comment