distributed double linked list thread sum