Sakshi and Art Solution

In this solution why we take max(ct-1,(t-1)/2)??

what’s happen if we take only (t-1)/2 rather then taking max of cnt-1 and this?