switch from fastqueue to double-ended-queue