Tweak to averagingIn