Generate Bitstream