GDP contracted by 3.7 % in 2009 , ending a 16-year growth trend , and by another 0.2 % in 2010 , making Spain the last major economy to emerge from the global recession .