add initial src, print function for tree and size set