preparing for removing set_size