Started bit packing, bug fix