more aggressive optimize of materials, only recreate when absolutly necessary