lose envdet samples