Running out of dimensions in the matrix | Painting