h_mean calculation, problems...