FIX digitize replacement: also accept unsigned ints