Cache deterministic seed

Backwards compatible.