implemented graph watershed