getNewSpanRow function

Calculating new spanRow with spanRow plus space made by row group