Fixed discontinuities in curve.