Histogram function with and without atomic add. It looks like wihout atomic add is slower