twobit decompressing logic, more changes to come