constant time coalescing case 4