natural log instead of log2 used.