remove the space within parenthesis, i.e.

```scala
while (ind < smaller) {
```

this should apply to all the if / whiles in this diff