MOD fuseStars algorithm