dumping grids as vectors.