Ray optics is valid when characteristic dimensions are