Linesearch fail checking and backtracking parameters in setings