I've read than if an attacker could control both entry and exit node into the tor network he could easily de-anonymize TOR users. I have also read that TOR chooses nodes at random. So my question is wouldn't it be better to ensure that nodes are chosen from different countries (and therefore jurisdictions). I mean the network could still choose nodes at random from within different countries? (See pictures below for an example what should be avoided)

[![Example where nodes are chosen from the same country][1]][1] 


You can also have entry and exit node in the same country!

[![Entry and exit nodes within the same country][2]][2]


Note: I did not manually choose nodes I just pressed "New Tor Circuit for this site" until the shown constellations appeared.

  [1]: https://i.sstatic.net/CvlSt.png
  [2]: https://i.sstatic.net/f9txH.png