[core] CURE algorithm - part 2 (not working)