Issue803 size estimator

issue #803 improvements