Addressing unit conversion issues in invert_ssa.py.