https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-modulo-reduction/