actually, could just be:

```js
if (maxBarWidth % 2 === 0) {
    maxBarWidth++;
}