Fix formatting

While you're at it, spaces around the shift operator please (```(1 << w)```)