OPT apply_trans:  avoid memory re-allocation