improved cyclical doubly linked list.