source plot works well for averaging over all z_values