Text this: What drives the optimal bankruptcy law design?