bugfix in maxBit