changed default max-iter-N and max-iter-M to 1