add new parameter for minimum value of any range location
use new parameter to limit minimum length of any range location