first attempt at optimizing lsd radix