Make histogram discrete