When the checksum on the sender side is computed, the pseudo header is considered. This shares the memory with the IPv4 header. Therefore several fields in the header can only be set after the checksum has been computed. These fields include the IP version field and the DF bit.
While there, write fields in the sequence they appear in the header.