fix diffMap at different testScale
more logical costScoreRatio
fix time measurement
consider average weight in cost scoring