When I rebalanced last week, I wound up buying a thousand shares of C-fund (for example) for $10+ that I had sold in June for $16+. This improved the cost-basis for the whole portfolio.