Tweaked wavelength fitting