Use the small allocator where possible instead of malloc.