udpate cell dist add line intersect