Michael: added MAX and MIn evaluation base don depth level in MIN_MAX function