add n degree bezier curve