bmalloc: allocate small and medium objects using the same bump pointer class