Remove usage of Vector#tmp() in Bezier and BSpline