They said that the state expected to raise $ 265 million in new revenue from the tax , but that the revenue was dwarfed by the cost of treating smoking-related illnesses in the state , which they estimated at about $ 8.2 billion a year .