different length mid tags
different length mid tags (now trimmed properly)
removed multiprocessing import