collapse long prompts