Explain how the Kelly criterion is used in Cassandra.