refactor radix to use log