[spline/bezier]Precompute bernstein derivative functions.
[spline/bezier]Bernstein function does not need to calculate at the edges.
[spline/bezier]Writing vertices to the buffer directly.