I am gonna decouple the rand state part out

Signed-off-by: ezheng <ezheng@cs.unc.edu>