Design of stacked intelligent metasurfaces with reconfigurable amplitude and phase for multiuser downlink beamforming | Synapse