More efficient random num generation