Changed zero-reset time to be divided by the number of elements in the buffer