trying simple stack allocator