Poland also regained Danzig, which had not been a part of Poland since its seizure by the Teutonic Knights.
Danzig was regained by Poland.
Each packet seeks the cheapest route, at the instant it is sent, to the destination.