Make number of bits an integer.