public void FillStackByRightMost(List<NodeIdxPair> stack, int idx) { throw new ArgumentException(); }