Cut down runtime for problem-31 to 0.4s
Parameterized target in problem-31