Use mersenne-twister random algorithm for profile sample