An improved algorithm for solving helix generation of RNA secondary structure prediction