Added a basic memory allocation size controller