reorder structures to not use padding bytes