[Completion] Prepare the terrain for sub-string completion