Delay thread only when grainsize is greater than 256