planned to calculate the bitshifts on the fly but it is going to be too complex
hardoce the bitshifts, I wonder if I calculated those correctly
create testpattern, notice that I had a brainfart when calculating the bitshifts...
recalc the bitshifts, I hope correctly this time