first draft of factorizing the rendering traversal for both sides in stereo