issue #237 - enhance contagion - main rewriting effort
save canonical form of data