Code before changing generateSubKeys to bitslice mode.