Use curly braces around the if bodies in case we want to extend them later, like this:
```
if (currMax(i) < other.currMax(i)) {
  currMax(i) = other.currMax(i)
}
```