Algebraic extensions in free groups