Three-stage legs plus a crossbar is the combination, and if the budget only allows one, take the legs.
The reason is overlap: at standing height a two-stage leg has the least material engaged exactly when the desk is tallest, which is precisely when you notice. A crossbar helps sideways and does nothing for that, so it is the second thing to buy, not the first.