add smooth histogram