implementing the coalescing for memory releases