Improved histogram