fix threading bug in CoalescingCasBuffer