merge the transform algorithm with the transform adaptor