compiles
numToBits