reduce matrix to one choice