Remove case expression in recSplit. Use where instead.
Solve hamm problem.