After becoming housing commissioner in 2004 , Donovan helped expand Mayor Michael R. Bloomberg 's ( I ) iteration of a plan for affordable housing into a 10-year , 165,000-unit , $ 7.5 billion project .