REQUIRE(iter < itermax, "Convergence not reached\n")
might be more concise