https://123dok.net/document/z1d84v3z-empirical-supremum-rejection-sampling.html