do not assume 4 sides to be textured

allows for different geometries to be textured. In my case a sphrere.