Try to optimize 2-D histo draw - create bins array with necessary info