A disproportionate share of the gains went to the state’s four largest banks: Bank of America, Citizens Bank, Santander Bank and TD Bank.