You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
alternatehistory.com
In OTL Stalin did the deal with Hitler in August 1939.
In part it was because he thought that the West wanted him to fight it out with Hitler whilst the Democracies looked on. (And there were people in the West who wanted something like that.)
Was there any deal that could have been done which would have guaranteed enough Soviet hostility to further Nazi agreession that Hitler would have been deterred (or maybe defeated) in Poland?