Empirical Bayes and semi-Bayes adjustments for a vast number of estimations