methods to bit fill
methods to pad and un-pad bit streams