bug-fix: 2-way min require strictly less than