Fix the Bug of duplicated items in neighbor list