interchange sampling and random sampling done