Finish the C++ without Jacobian