When an assessment is collected, it shall constitute a fund for the payment of costs and expenses.