support multi core to speed up DNA calculation.