add command: resize() when dequeue is not efficient