Dynaimcally choosing log base unit.