how many years did it take the united states to acquire territory between the original thirteen colonies and the Pacific ocean