switched island processing from a parallel for to a task-based approach