Defaultdict is not very smart