Cut on sum other PV sumpt2 with min/max instead.
Remove unused variable to prevent compiler warning.