Apply Simpson’s rule (#591)