Rename param of calcFrame() to RunOnCpp