Use C arrays for codewords and clusterNumbers