comparing to the middle is enough