radix tried and tested with representative input