the government already has the mammoth three gorges dam , the world 's largest hydroelectric project , under construction in the middle reaches of the yangtze in hubei , and officials say one of its main purposes is to prevent such flooding .