interpolate beziercurves to speed up + minor fixes