Add sureness and buffered the input
Add send 0 if not enough data was collected in time