splitter: reduce memory usage