Added iteration limit configuration parameter