assign materials to every part