Logic modification for CSEM production in summarizeSGP