Make it work with unsigned integers