Algo add queue (ring buffer).