Second, it is irrelevant. The capital gains tax that would be due on a normal step-up in basis during life is independent of the estate tax.
Assume there was no exemption and you bought stocks 20 years ago for 100 K$ that are now worth 1 M$. If you die, then your estate would need to pay estate taxes on 1 M$.
However, if instead you sold it the day before you died, you would need to pay capital gains on 900 K$. Then you pass away with N $ = (1 M$ - taxes) in cash. Your estate would then additionally need to pay estate tax on N $.
The step-up in basis is the difference between these cases. Your inheritors get your capital gains (step-up in basis) tax-free, but you still need to pay the estate tax.