swap a static node and a dynamic node if the static node is free and the dynamic node is busy