var depth: Int
Tracking depth of stack during extracting. Important to avoid any infinite loops in potential references