Increased iteration counter
Added iterations limit protector