Before any dividend i declared, the costs and fxpensea nf admiiiisteriing the trusts of the said assignment, including a reasonable conpensation I o the said assignee, ami his counsel fees and other expenses, as may be allowed by the probate judge, shall bs paid out of tne trust tuna.