The function of spindle fibers is to