Improved Max/Min algebra