Print at which iteration the overflow occurs.