Optimize finding the sum that matches our --inplace position.