The stimulus programs and bank bailouts , however , resulted in a government budget deficit of nearly 4.6 % of GDP in 2009 and 5.3 % in 2010 that contrasts sharply with a surplus of 0.7 % of GDP in 2008 .