Democrats thread thin needle to cover cost of $3.5 trillion bill