I did a balance between the two methods.
If the act with less mats has a difference of more than 8 with the average, it runs the act with lower mats.
If not, then uses Taras default method.
Also added another option that if the differencte between act with max mats and the mat with min mats...