trim stream