max should be smaller.