maked xSplitWith much more efficient than the previous implementation.