seletion ith smallest