Replacing primes with subscripts for MaxSlot and MinSlot