Hitless wavelength assignment in filterless optical access networks