complete transform algorithm