m_samples[hash].average() would likely be faster.