Change initial value to avoid detecting a phantom edge