checking for max left and max right