Re-add min-disparity functionality