Seperate the data preprocess period from whole part