Changed graphState of swapped bst node to retain their original ID