iterate version numbers