Build CTR mode.