Redid first_largest_index