Handle jump discontinuities.