Prematurely optimizing environments for compression of assets