Re: Graph Cuts implementation