Change LinkedList to BlockDeque