remove call to max and use defined max

parent 87e3993c
Pipeline #15661 passed with stages
in 19 minutes and 5 seconds