multiprocessing to bin and tern
finished mutiplprocessing