private List<SplitCell> detectPotentialSplit(double[][] costs, int[] assigns, SegmentedImage A, SegmentedImage B, double ep){
		List<SplitCell> result = new ArrayList<SplitCell>();
		for(int i = 0; i < costs.length; i++){
			List<ProcessedCell> temp = new ArrayList<ProcessedCell>();
			if(assigns[i] == -1) continue;
			double weight = costs[i][assigns[i]];
			for(int j = 0; i < costs[0].length; j++){
				if(weight/costs[i][j] >= ep){
					temp.add(B.getCell(j));
				}
			}
			if(temp.size() > 1){
				result.add(new SplitCell(A.getCell(i), temp));
			}
		}
		return result;
	}