desired precision 1e-6