take that back, this approach doesn't work either (going left, going right, or swapping) since there's too many left-right-... combinations to take into account.