New speed improvements

These are:
- small improvement in the fetching of the data (in get_bits)
- 40% speed up in parsing the data from the DB (in process_bits)