Ensure consistent memory layout for checksums