R/calculate_intensity.R: Added the debug mode to parseRegions function to reduce the size of the returned object

Signed-off-by: Charles Joly Beauparlant <Charles.Joly-Beauparlant@crchul.ulaval.ca>