Adding reparameterization for line / quadratic