Fixed a bug when using multiple cycles and the number of lines or regions changes between cycles
Updated version number