[Olena-patches] cleanup-2008 2843: Make topological watershed work.