prepare KK transform