in ``sqrt_mod_iter`` added ``domain`` default argument