try using hessian-vector product but it is slower than the uncombined function