According to YourKit this is a hotspot. We are using it in Matches and it is fairly expensive to create (and this is done a lot). We should instead just compute the mean locally and return it.