* set max sums
 * adjust constants for recent algorithm changes