Refinement of merge with combineSGP and update of testSGP(2d)