Please add a comment about why we exist the loop when length > 2.