add bin information to histogram