Improved the performance of FstAnalyzer