Randomize hodgepodge g parameter.