TreeMap index type changes