Optimizing flynum.