Speedup deleting element from list