[ring_fifo] Improoved algorithm: Now the wole buffer is used, before, one position had to be always empty