a allocator library make use of stack