Add possibility to reuse grids in VEGAS