Fixed the smallest set of smallest rings algorithm
Merge remote-tracking branch from Victor