size estimator calculation for replica puts bug fix.
 review refactorings
Merge pull request #2551 from ahmetmircik/fix/3.2.x/sizeEstimatorOnReplicas

Fixes #2547 :  (maintenance) Size estimator calculation bug fix.