Updated ps2 reference solution.