Physical path analysis in photonic switches with shared wavelength converters