[Olena-patches] cleanup-2008 2712: Add extension::adjust_fill and elementary erosion.