Fix effective resources calculation.