Text this: Optimized stochastic approach for integral equations