MaxSum cleanup step 3: MS_AgentSync refactoring
MaxSum cleanup step 4: Remove pseudo-static initialization
MaxSum cleanup step 5: Implement tests for the prunning operation