Properly initialize material stacks