eulermark: rename (max, min) to (upper, lower)