associated each roi to a given slice