added cfg to run machinery twice and compare dttf with legacy/phase1 primitives
small changes