Run your own agreement through the four tiers, compare both bases, compute the clawback and split the carry by holding period under section 1061.