heuristic in subworkflow