added mean step histogram