faster kp enumeration
summation works