add n_times to grids / datasets