trim stream and add +1