splitter and merger reworked to improve network traffic throughput and decrease memory usage