Pathologic minor optimisation