Fixed an issue which caused FindCommonAncestor to use too much memory.
Merge pull request #724 from jdgarrett/find-common-ancestor-memory

Fixed an issue which caused FindCommonAncestor to use too much memory.