If you take all new M&T shares, your total cost basis will be the same as before but over the new share total. Just divide your old share total cost basis by the new shares you receive. No capital gains tax until you sell the new shares. If you elect to take cash, it's the same as selling your shares. If it is a combination of cash and shares, it depends upon the cash received vs shares received at the time of closing.