Changed message struct to bitfield union to reduce space consumption