grid dim is revised