Revert "iterate version numbers"

This reverts commit 04981aacb2ed6bafc3b6c1445c5d837972d927aa.
Properly iterate version numbers