three.js Modifier Subdivisions not working on array of material

I have try to add Subdivisions Modifier to my cube, but not working when using array of material. I need to use different image for different side. Here is the CodePen link https://codepen.io/shankarG/pen/BVyByL