Stack overlapping elements in a more compact manner.