Sorry i forgot to update on this here. Actually the estimateSize would return children.size internally. Hence i used estimateSize.  Let me change it explicitly here.