replace g1 histogram with CDFs