@stefanbeller Wow, thanks for that lengthy explanation of the bitshifts!

As for the build issues, they should be fixed now that @igorko merged my PR.

I'm aware of the garbage numbers that prio becomes, but still no clue as to why.