Previous approach of evaluating CFG was wrong. New approach calculates average difference from optimal path. It has its drawbacks, but is more precise than previous approach.