Speed up chain cover calculation when persisting a batch of state events at once.