Made Unit allocator to be nice to the garbage collector