fn get_last_hash<'a>(
    iterator: impl Iterator<Item = &'a Entry> + 'a
) -> Option<Hash>