add graph cut tp