val1 = zeros(max_iter, dtype=dtype)  # First Richardson extrapolation