fixing cilk program