After several iterations PySR - SciPy optimize basinhopping, back and forth, I finally found the interpolant I was looking for. It's not exactly exact, but I can be satisfied for now. It will be used for the new method for optimal flattening of cubic Béziers curves that we are working on.