Fixed bug with retrieving 32 bits from bit stream.