Base implementation for computing size function of H0Tree: need more
test, just some simple cases was introduces