Now we do check for min and max values of the parameters provided to the IOU

Signed-off-by: Delian Delchev <delian.delchev@gmail.com>