modify the worlen weight calc by log()
update cppcommon