reverted the transposition optimize