stereo_pprc: Fix for optimal threshold