Added classes for smallest and largest items