remove first segment if distance is 0 (down to 7 failed)