Modified shaders to not send array bigger than expected