Remove redundant recursion step in solution for part 1 This speeds up the solution and makes the marshalling unnecessary