cleaner averaging using slices.