[Olena-patches] proto-1.0 159: Repair geodesic erosion and dilation (cont.)