Better structure of _get_checksum_from_changes