At the end of the Ground battle step, if there are more than 2 units in the Ground arena, discard the unit with the lowest speed. If 2 or more units are tied for lowest speed, you choose which unit is discarded.
This counts the current speed while stacked.