Put CaseInv and PatternInv in the same float.