Optimizing tree decompositions in MSO (Logical Methods in Computer Science, 2022)