Changes to make the cactus_bar computation of large flowers much more
efficient