Replace all unsupported Curve#getLength(from, to) calls with #getPartLength(from, to)