Globalization technique for projected Newton–Krylov methods