are you sure the stcg is an 199A item. this would be contrary to the code section and regs.
from 199A
The following items shall not be taken into account as a qualified item of income, gain, deduction, or loss:
(i)Any item of short-term capital gain, short-term capital loss, long-term capital gain, or long-term capital loss.