For the deal to make sense, the costs of working together in a contractual relationship would have to be greater than the costs of merging.
For the deal to be viable, everyone would need to work apart and without a contract.