On the maximum transform