Minimum Rate Prediction and Optimized Histograms Modification for Reversible Data Hiding