It is possible to speed up the filling process with the loss of some protection, and to globally transfer an array or a matrix to a histogram.