To counter a perceived communist threat from the Soviet Union , the US quickly set to work reconstructing the economy by transforming Japan 's institutions and devising a new pacifist constitution .
The transformation of Japan 's institutions came from the US reconstructing the economy , because of a perceived threat from the Soviet Union .