Fixed bugs with total/child estimate