An optimized MAS for solving scattering problems