Update binarySelect.cpp