Fix splitting algo with multiple SEs
Merge pull request #4025 from dballesteros7/fixSplittingAlgos

Fix splitting algo with multiple SEs