* Added a mapping between color and segment index