The nonparametric maximum likelihood estimator for midd