integrate ff2p and p2ff into zz_enc block