fail at speeding up the hessian code