Added construction of graph of local friendly region.