Fixed histogram computation