Fix operation time for NSDictionary class in the worst case