find_f0 works for long datasets now