Shear criterion for stacking determination. Even if two base pairs lie in parallel planes, they can be sheared so that there is no overlap in the bases and consequently no stacking interaction. The shear criterion is introduced to guard against this situation. In the figure above, C
1,2 is the line joining the centers of the two base pairs and

and

are normal vectors to the planes of the two base pairs. The first subcriterion is that θ
1 and θ
2, the angles that C
1,2 forms with

and

respectively, should be <60° (
top). If this condition is satisfied, then the distance between the center of one base pair (
bottom, gray) and the normal vector to the other base pair positioned on its center (

,
bottom) is determined. The base pairs are deemed not to be stacked if this distance is >10 Å.