turned bitstream into a package