Calculate total size from tree.
Merge branch 'master' of https://github.com/chenbensong/experimental