Added bitpacking + tests