generalise the warp size into group size