Trace averaging.