Change in HashMap to make II more efficient.