add setBorderProbEdge method