add minsubsum debug maxsubsum
add minsubsum debug maxsubsum