Add max height to counter