Added --bits-per-digit option support