The top tier of mortgage producers gained some market share in 2016, but call-report data show that community banks continued to play a huge role in the primary market, according to a new analysis and ranking by Inside Mortgage Finance. The top 100 lenders produced a hefty $1.622 trillion in first-lien mortgages last year, including their correspondent and wholesale-broker programs. Although their production faltered by 2.5 percent in the fourth quarter, full-year volume was up 18.2 percent from 2015. Banks, thrifts and credit unions ended...[Includes two data tables]