Inclulde number of replications in result
gc() only once, not before each replication

It is too slow() to gc() many times, even if there
is nothing to clean up.