Tree search algorithm for solving protein two-position structure prediction problem based on PERM algorithm.