We refuse to compute integral numerically when the values for P(D) are too small (<1e-5).
This solution is not so computationally expensive as the previous one.