Adjustment of the optical path length