`math.min` is more efficient. Though, not sure if that is very important here.