init third largest
handles all cases