add tools for 2D histogram