average a bit wider, prevent NaNs too