refined secondary structure prediction, accept only the prediceted structure with max base pairs