Improve the precalculation of the grid of the sparse Jacobian in recsSolveDeterministicPb