with Cyclic queue, fix queue