Modified DecoderInputStream to use BitInputStream