Generate codes in binary rather than in base 10.