fill the beta function modules with the expressions and traces