Huge performance boost with custom Bezier interpolation