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