The merging history of dark matter haloes in a hierarchical universe | Synapse