The gradual improvement of the Mexican economy, the federal government's additions to border security and a shift in the demographics of Latin America all contributed to the nearly decade-long freeze in illegal immigration, according to the report by Pew Research Center.