Restore coalescing code