check if in a secondary structure num of lparens >= rparens or <, and determine whether to read from left or right, so that stem loops in a string like ((..((..)))) can be found correctly