improve set sim algorithm