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)
You can also have entry and exit node in the same country!
Note: I did not manually choose nodes I just pressed "New Tor Circuit for this site" until the shown constellations appeared.