Fix: Dict algorithm.