Random sampling assignment done.