BMEM: add kconfig to configure allocation size