How to properly double on ceiling joists
If you have no sag in the ceiling just screw 3/4 inch plywood on on top of the ceiling joist. This will add strength  to them and keep your headroom. Be sure to run the length of the plywood across the joist.