exclue P[m+1],S[1],S[m+1]