AP/CNS

Since all APs generated by a given nerve fiber have the same magnitude, how does the CNS "know" whether a stimulus is strong or weak?