one_limit function

Creates the limits for one condition one_limit creates the limits for one condition