replaceable set algorithm part
replaceable 2