Pakistan flood damage could cost the country about $40bn