2x speedup due to remove links duplication