edge effects in wavelength
(#618)