what gave the us the last land needed to expand to the pacific ocean