Before revision:  Here, we consider only simple weighted base pair counting  to obtain BPPart algorithm for Base-pair Partition function and BPMax for Base-pair Maximization, which use 9 and 2 tables respectively.
After revision:  Here, simple weighted base pair counting to obtain BPPart algorithm for Base-pair Partition function and BPMax for Base-pair Maximization, which use 9 and 2 tables respectively.