How would I multithread updating large amounts of foliage instances?

Hi, I keep getting serious lag when trying to add and remove a large amount of foliage instances at once in a MultiSphereTrace. I’m wondering how I would go about having this happen on a separate thread so as not to lock the game up, or what would be the most performant way to do this. Thanks.