which state has a bigger border with canada new york or montana?