Refactor do_aux_tran to remove useless arguments