stereo_tri: More code simplication