the transform algorithm complete.