Adds variables upper and lower bounds for rand function