[Olena-patches] r3789: Add a morpho transformation before edges computation