Write numbers as 0b instead of 0x so we can see the bit pattern
Fix packing of 28 bit records

When we packed the left record before the right, we didn't preserve the middle
byte of the node when writing the right record.

I also simplified the code a little bit by just looking at the middle byte
rather than the whole other side of node.