remove all ATTACK code
move encoding to clt_mlm.cpp