Make ln() faster