Issue #6 Initialize randoms only once