d2o cumsum and flatten rely on certain features of distribution strategy
cumsum and flatten assume: if the shape of the d2o changes through flattening, the distribution strategy was "slicing".
cumsum and flatten assume: if the shape of the d2o changes through flattening, the distribution strategy was "slicing".