groupDivide and cancelDiv; simplified singleTerm