replace N parameters for a tolerance in the numerical integration