Replace bitwise 'and' custom function with modulo
Replace bitwise 'and' custom function with modulo

also changed some lines to use UINT_MAX_STR instead of having the value inside the string literal
shinh/elvm,shinh/elvm,shinh/elvm,shinh/elvm,shinh/elvm,shinh/elvm,shinh/elvm,shinh/elvm