parallelising some FLIRT and loops