The generalization of the leaf width works now. Everything is again a big template, to parameterize the leaf width.