mechbmagic processes files but doesn't find optimal solution