reduced number of params in compose recursion
small fixes: GC guard; no checking of berz with itself
tree compose with sparse maps
fixed compose bug when ord 0 is missing
restructuring: split tpsa into functional chunks