Fast cubic Bezier curve length calculation library