Python API, SumMstage by step, slow

Hi,
I run the below python code to get output for graphs. The lines to get the SumMstage is very slow commpared to the getcurveresults. Can I please get some tips for how to speed up acquiring the step by step SumMstage? Thanks, Regards, Ole

mstage = []
Uy = []
phase = g_o.Phases[-1]
print(phase.Identification.value)

for step in phase.Steps:
    Uy.append(g_o.getcurveresults(g_o.Nodes[0],step,g_o.ResultTypes.Soil.Uy))
    mstage.append(step.Reached.SumMstage.value) #<----------- this line runs really slow compared to the one above
    print(step.Reached.SumMstage.value)