[enh] Refactoring the polydag behaviors.
Test are broken for the moment !!!
[fix] Merge from C4