added Bits.getMinSize(int)