Quantizing Density Estimators