buildRand.go