same fix for genProblem in the NRC version (minimalize n xs --> minimalize n ys)