Optimizing Timestamp Management in Data Stream