Add max wavelength and energy gap