add diff_max and mx mul task