Added segments to materialRefs