[MOD] Tail-Call Optimization for Dynamic Functions