unexported functions to support fast calculation of the stratification pattern with fastSP and fastSP.k
Useful links