Capital gains tax

Question: how does adding to your bag affect capital gains tax?

For example: if I have 20 xrp in long term capital gains tax and I add 20 more, will that last 20 be charged only for short term capital gains tax or would my whole bag be charged for short term capital gains?