add doHZg doHInv to C7; and some naive implemtation of total width which is not correct