Modifies terms after kansaimath