On the optimal design of a Financial Stability Fund