Simplified elements retrieving logic of the circular buffer.