Fixed calculation of "lo_iteration"