convert cubic to quad bezier