Fixed buggy coalescence calculation