dump pcf as a tree