speed up element deletion