In the pattern matcher, wrote the pattern-specific getLeaves() code for the outsbs case.