Fix static splitting to subtasks.