I mean:
```scala
val (smaller, larger, sSize, lSize) = if (sizeOne < sizeTwo) (one, two, sizeOne, sizeTwo) else (two, one, sizeTwo, sizeOne)
// now just write larger.join(smaller) or larger.hashJoin(smaller)
```
Don't repeat each branch for smaller and larger.