Choose appropriate tolerances for largo DOF
Correct nuinf check
Use autoconf magic to simplify