A novel photonic integrated regenerator