Dynamic pupillary response controlled by the pupil size effect