decomposition of cumulative in registry.cpp