Text this: Two-dimensional hysteresis comparators to control multistage inverters with maximum number of levels