Fixed a bug in the biggest stem chooser