numrandgens now more modest, as we don't need that many
fixed NUMRANDGENS bug