In the long run, however, state officials say the deal is good for taxpayers, who would otherwise bear the full cost of needed upgrades to the 17-story glass-and-steel structure — estimated at $325 million — or of purchasing or leasing other office space in the central business district.