an efficient correlation transformation