added another way to dimension grids of thread blocks