Indirect material optimization