Using bitwise and instead of modulus