Made arrays of histogram to reduce call functions.
Add histogram stack