smallest_pair added