the value used later is and stored in a 'unsigned' type so thats where I got this.  I tried to keep it in the same spirit of the original code.  see  `unsigned in_slab_index = 0` on line 2283.  See Issue#106 for details.
This whole this could just be turned into '22' as well which is certainly 32 and 64 bit safe :-)