add multi threads to analysis step1