initial bezier version; last point is always (0, 0)