Telegram: put all prefixes of all suffices into hash set