New way of finding max