extension Dictionary { init(elements: C) { self.init(minimumCapacity: Int(elements.count.toIntMax())) for (key, value) in elements { self[key] = value } } }