Finite size effect on the current enhancement at the tip of a long defect in a resistor network