Revert "#9 sharing same iterator in multiple loops"

This reverts commit b632efa2
Status Job ID Name Coverage
  Build
passed #3456
build_job

00:00:41