Fix iteration limit