Refactored to use @max_iterations instead of hard-coded value
Added zoom_out