Changed so reproduce uses gridDimension