complete circular buffer first iteration