s4-scripting: allow to specify the number max of iteration around getNcChanges