Compensation of gain saturation in SOA-gates by interferometric Mach-Zehnder wavelength converters