merge: zerogen into randgen