New extrapolation method for predicting nuclear masses