new feature: parallel segment with multiprocessing