Added a min-max delay mechanism