Add deterministic random numbers.
Get rid of randomness.
More DO, and some test cases.