The coalescence mechanism of multiple slug bubbles