Make a few types in the node & record structs smaller

This doesn't seem to help memory usage, but it's a little more correct this
way, so it doesn't hurt to commit it.