The recursive aggregate interaction matrix algorithm for multiple scatterers