string match
find min all one