TMSS-1045: Tighten block size calculation against the improved flexibility in the CoherentStokes and IncoherentStokes kernels.
Closes TMSS-1045