Fix bug if only the input has only one sample.
New stem-loop structure filtration strategy.