NT -> groupsize, VT -> grainsize