Revert "Refactor for loops"
This reverts commit 6a0535050b8cf96934aee8d7f9f180535351ce97 and all
commits that attempt to fix its regressions.
Shaving off a few lines of code is not worth the effort of fixing all
the regressions caused by shaving a few lines of code.