Distributed wavelength assignment with minimal contention in optical transport networks