Condition when maximum set bits are equal in both subtrees
else : NEW_LINE INDENT tree [ index ] . max_set_bits = tree [ 2 * index + 2 ] . max_set_bits NEW_LINE tree [ index ] . value = max ( tree [ 2 * index + 2 ] . value , tree [ 2 * index + 1 ] . value ) NEW_LINE DEDENT