The estimate by the nonpartisan Congressional Budget Office gauged the cost over 30 years, though the bulk of the effects to the economy would be felt over the next decade.