what borders montana in the south?