Memory Efficient Method for Electromagnetic Multi-Region Models Using Scattering Matrices