We cannot use `itervalues()` because you cannot reiterate over an iterator.