add set closed_set to prevent duplicated probing