problem understood! :dancer:

side corners are getting criss-crossed, new corner's next should be
swing's next's swing (and vice versa), new corner's unswing's prev
should be assigned to it's unswing's prev's swing