Corrected big number type issue in calculation of sum over ROI  - now functional