Added a missing integer cast

For some reason splitting with a string instead of a string worked: the system was simply not splitting and generating a single task, but all tests were green. The issue is that calculator was not parallel and thus slow.