Refactor keyvalsync, stress test without estimator.