reduce mfc memory alloc

Signed-off-by: Humberto Borba <humberos@gmail.com>