added new memory pool implementation for enc_cb / enc_tb