refactor collapse code to use Catchup.replay_to_store
optionally slowdown the collapse process
fix too_far_i for collapse