Untabify.
Hoist boundary condition out of loop header.