Getting profit-sharing arrangements right in a merger