Added an "upward" trail of up to 3 ancestor nodes.