For fix on prime sampling.