Improve the performance in processing huge data. Reduce the memory consumption in processing huge data. Fix some bugs.