problem_54b: fix optimal value.