Use point-max-marker and point-min-marker here and there.