colved the problem of the maxima and the plot display for the 2D histograms.