Assigns the height of the tallest element to all the elements in the collection.