Optimizing the circularity of resources