Reworking bits.h