debug allocator - guards - closes #337