Code cleanup: don't check iteration index.

Instead, run all but last first, then last separate.