Tweaking for 3d histogram.