Removed static near sum.
Renamed variable in partSinSum method