finish up prime factors