integrate from -1 to 1 min(2sqrt(1/pi-x^2), 2sqrt(1/pi-(x+0.01)^2