And in the USSRs case, it was from an ecomony that had just had gotten into large scale industrial production, after having been way behind under the Czars, and after a major war, a revolution, and several years of civil war.
If anything, they did better than expected. Even more so given that they had an inexperienced government, external pressure from unfriendly western countries, and had to prepare for future wars that were already breeding (and luckily the did it just in time for WWII).