split implementation in TerminalSplitter