add graphcut dir