how did the united states expand its borders to include 48 of todays 50 states