convert units to line up in log